projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa356b
)
VMX: adjust correct table when there's no posted interrupt support
author
Jan Beulich
<jbeulich@suse.com>
Fri, 19 Apr 2013 10:31:18 +0000
(12:31 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Fri, 19 Apr 2013 10:31:18 +0000
(12:31 +0200)
The caller of start_vmx() will overwrite hvm_funcs, so there's no point
in adjusting that table in start_vmx().
Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/vmx/vmx.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/vmx/vmx.c
b/xen/arch/x86/hvm/vmx/vmx.c
index 799b60e31ca5b97e8c96441e6c94226b1afe50b3..6866cd080bf01252c60efe7e425781745be301ac 100644
(file)
--- a/
xen/arch/x86/hvm/vmx/vmx.c
+++ b/
xen/arch/x86/hvm/vmx/vmx.c
@@
-1585,8
+1585,8
@@
struct hvm_function_table * __init start_vmx(void)
alloc_direct_apic_vector(&posted_intr_vector, event_check_interrupt);
else
{
-
hvm_funcs
.deliver_posted_intr = NULL;
-
hvm_funcs
.sync_pir_to_irr = NULL;
+
vmx_function_table
.deliver_posted_intr = NULL;
+
vmx_function_table
.sync_pir_to_irr = NULL;
}
setup_vmcs_dump();